package com.yyc.bleem.controller;

import com.yyc.bleem.common.utils.ResponseUtil;
import com.yyc.bleem.pojo.entity.ResponseEntity;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yyc
 */
@RestController
@RequestMapping("/user")
public class UserController {

    /**
     * 分页查询
     * @return ResponseUtil
     */
    @PostMapping("/searchPage")
    public ResponseEntity<Integer> searchPage(){

        return ResponseUtil.createErrorResult(1,"报错啦.....");
    }

}
